package com.example.factory;

/**
 * Created by Risky57 on 2017/4/28.
 */

public class SaleFull implements SaleBehavior {
    @Override
    public float sale (float money) {
        int n = (int) (money / 300);
        return money - n * 100;
    }
}
